File item representation in Google Drive API
code:File item representation in Google Drive API.json
{
"kind": string,
"driveId": string,
"fileExtension": string,
"copyRequiresWriterPermission": boolean,
"md5Checksum": string,
"contentHints": {
"indexableText": string,
"thumbnail": {
"image": string,
"mimeType": string
}
},
"writersCanShare": boolean,
"viewedByMe": boolean,
"mimeType": string,
"exportLinks": {
string: string,
...
},
"parents": [
string
],
"thumbnailLink": string,
"iconLink": string,
"shared": boolean,
"lastModifyingUser": {
object (User)
},
"owners": [
{
object (User)
}
],
"headRevisionId": string,
"sharingUser": {
object (User)
},
"webViewLink": string,
"webContentLink": string,
"size": string,
"viewersCanCopyContent": boolean,
"permissions": [
{
object (Permission)
}
],
"hasThumbnail": boolean,
"spaces": [
string
],
"folderColorRgb": string,
"id": string,
"name": string,
"description": string,
"starred": boolean,
"trashed": boolean,
"explicitlyTrashed": boolean,
"createdTime": string,
"modifiedTime": string,
"modifiedByMeTime": string,
"viewedByMeTime": string,
"sharedWithMeTime": string,
"quotaBytesUsed": string,
"version": string,
"originalFilename": string,
"ownedByMe": boolean,
"fullFileExtension": string,
"properties": {
string: value,
...
},
"appProperties": {
string: value,
...
},
"isAppAuthorized": boolean,
"teamDriveId": string,
"capabilities": {
"canChangeViewersCanCopyContent": boolean,
"canMoveChildrenOutOfDrive": boolean,
"canReadDrive": boolean,
"canEdit": boolean,
"canCopy": boolean,
"canComment": boolean,
"canAddChildren": boolean,
"canDelete": boolean,
"canDownload": boolean,
"canListChildren": boolean,
"canRemoveChildren": boolean,
"canRename": boolean,
"canTrash": boolean,
"canReadRevisions": boolean,
"canReadTeamDrive": boolean,
"canMoveTeamDriveItem": boolean,
"canChangeCopyRequiresWriterPermission": boolean,
"canMoveItemIntoTeamDrive": boolean,
"canUntrash": boolean,
"canModifyContent": boolean,
"canMoveItemWithinTeamDrive": boolean,
"canMoveItemOutOfTeamDrive": boolean,
"canDeleteChildren": boolean,
"canMoveChildrenOutOfTeamDrive": boolean,
"canMoveChildrenWithinTeamDrive": boolean,
"canTrashChildren": boolean,
"canMoveItemOutOfDrive": boolean,
"canAddMyDriveParent": boolean,
"canRemoveMyDriveParent": boolean,
"canMoveItemWithinDrive": boolean,
"canShare": boolean,
"canMoveChildrenWithinDrive": boolean,
"canModifyContentRestriction": boolean,
"canAddFolderFromAnotherDrive": boolean,
"canChangeSecurityUpdateEnabled": boolean,
"canAcceptOwnership": boolean,
"canReadLabels": boolean,
"canModifyLabels": boolean,
"canModifyEditorContentRestriction": boolean,
"canModifyOwnerContentRestriction": boolean,
"canRemoveContentRestriction": boolean
},
"hasAugmentedPermissions": boolean,
"trashingUser": {
object (User)
},
"thumbnailVersion": string,
"trashedTime": string,
"modifiedByMe": boolean,
"permissionIds": [
string
],
"imageMediaMetadata": {
"flashUsed": boolean,
"meteringMode": string,
"sensor": string,
"exposureMode": string,
"colorSpace": string,
"whiteBalance": string,
"width": integer,
"height": integer,
"location": {
"latitude": number,
"longitude": number,
"altitude": number
},
"rotation": integer,
"time": string,
"cameraMake": string,
"cameraModel": string,
"exposureTime": number,
"aperture": number,
"focalLength": number,
"isoSpeed": integer,
"exposureBias": number,
"maxApertureValue": number,
"subjectDistance": integer,
"lens": string
},
"videoMediaMetadata": {
"width": integer,
"height": integer,
"durationMillis": string
},
"shortcutDetails": {
"targetId": string,
"targetMimeType": string,
"targetResourceKey": string
},
"contentRestrictions": [
{
object (ContentRestriction)
}
],
"resourceKey": string,
"linkShareMetadata": {
"securityUpdateEligible": boolean,
"securityUpdateEnabled": boolean
},
"labelInfo": {
"labels": [
{
object (Label)
}
]
},
"sha1Checksum": string,
"sha256Checksum": string
}